package cn.ltpcloud.common.pojo.mapper;

import cn.ltpcloud.common.pojo.po.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author jiejiebiezheyang
 * @since 2024-07-03 21:30
 */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    /**
     * 根据 用户id 关联 角色
     */
    void insertBatchByUserId(Integer userId, List<Integer> roleIds);
}




